package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.entityMirror.TeamMirror;
import webEquipeRechercheGwt.client.entityShowingPanel.linkCreationPanel.ToTeamLinkCreationPanel;

public class CommandGetAllTeamsImplToTeamLinkPanel implements
		CommandGetAllTeams {

	private ToTeamLinkCreationPanel target;
	
	public CommandGetAllTeamsImplToTeamLinkPanel(ToTeamLinkCreationPanel target) {
		this.target = target;
	}

	@Override
	public void execute(Collection<TeamMirror> res) {
		target.setTeams(res);
	}
}